function getImage()
{
  tfProcTxt = document.getElementById('tfProc').value;

  if(tfProcTxt == ""){
    alert("Prosz poda skal.");
    return;
  }

  url = "http://localhost/dane.php?proc=" + tfProcTxt;
  url = encodeURI(url);

  var btnWykonaj = document.getElementById('btnWykonaj');
  btnWykonaj.disabled = true;
  startGETRequest(url, onComplete, onEnd);
}

